<?php
/**
 * Asignaciones
 *
 * asignaciones.php
 * @author Hector Ruiz
 * @version 1.0
 * @copyright Hector Ruiz, 17 Enero, 2012
 * @package default
 **/

class Asignaciones extends CI_Controller {
    
    public function __construct() {
        parent::__construct();

        $this->load->model("menu_model");

        //Only logged in users are alowed to access this controller
        if($this->session->userdata('logged_in') == FALSE) redirect('login');
    }

    function index() {
        $data = $this->menu_model->general("Asignaciones","");
        $data['site_name'] = "Inventario";
        $data['app_menu'] = $this->menu_model->asignaciones_menu();

        $this->load->view('template', $data);
    }

}        

/* end of file */
